<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>标注法规</title>
    <script type="text/javascript" src="__ROOT__/Public/Js/jquery-1.5.0.min.js"></script>
    <script type="text/javascript" src="__ROOT__/Public/Js/core.js"></script>
    <script language="javascript" type="text/javascript" src="__TMPL__/js/ajax.js"></script>
    <script language="javascript" type="text/javascript" src="__TMPL__/js/riqi.js"></script>
    <script language="javascript" type="text/javascript" src="__TMPL__/js/web.js"></script>
    <style type="text/css">
      a{font-size:12px; color:#000000;}
      a:hover{ color:#CC0000; background-color:#999999}
      li{list-style:none}
      td
      {text-align:justify;text-justify:distribute-all-lines;text-align-last:justify;
      }
      .wxp_1{z-index:1000; min-height:100px; width:620px; border:3px solid #000; background-color:#CCC; display:none; padding:10px;}
      .zt{ font-size:14px; color:red; padding-bottom:10px; padding-left:10px;}
      .ul_wx{ padding:0; margin:0; padding-left:10px; }
      .ul_wx li{ text-align:left;  width:280px; float:left;}
      .gb{ position:absolute; top:10; right:10px;}
	  body{font-size:12px;}
	  td{text-align:left}
    </style>
  </head>
  <body >
    <layout name="Public:header" cache="0" />
    <div id="content" style="float: left">
      <div style="text-align:center">
        <div>
          <form id="form1" name="form1" method="post" action="__URL__/insert">
            <div style="width:98%; top:1px;">
              <div style="height:150px;" >
                <table  border="0" width="100%">
                  <tr>
                    <td colspan="2"><span style="color:#990000">标题
                      <input class="input" name="ltitle" type="text" value="" size="80"/>
                    </span></h3></td>
                    <td width="34%">&nbsp;</td>
                  </tr>
                  <tr>
                    <td width="42%">发文字号：题
                    <input class="input" name="lnumber" type="text" value="" size="30"/></td>
                    <td colspan="2"><span>发布机构：</span>
                      <input class="input" name="luser" type="text" value="" size="30"/></td>
                  </tr>
                  <tr>
                    <td> 适合地区
                      <select name="dq_id" class="option">
                        <volist name="zhr[2]" id="dq">
                          <option value="{$dq.id}" style="color:red">{$dq.title}</option>
                          <volist name="dq.downLine" id="dqd">
                            <option value="{$dqd.id}">{$dqd.title}</option>
                          </volist>
                        </volist>
                      </select>                    </td>
                    <td colspan="2">适合专业：
                      <select name="zy_id">
                        <volist name="zhr[0]" id="zy">
                          <!--{$zy.title}</option>-->
                          <volist name="zy.downLine" id="zyd">
							 <optgroup value="{$zy.id}" style="color:#999999;font-style:normal" label="{$zy.title}:{$zyd.title}">
                             <volist name="zyd.downLine" id='third'>
							  <option value="{$third.id}" style="color:#0066CC">{$third.title}({$third.id})</option>
							  </volist>
							  </optgroup>
                          </volist>
                        </volist>
                      </select>                    </td>
                  </tr>
                  <tr>
                    <td>
                      <span>法规类别：</span>
                      <select name="lawtype_id" class="option">
                        <volist name="lawType" id="lt">
                          <option value="{$lt.id}">{$lt.Laytype_name}</option>
                        </volist>
                      </select>                    </td>
                    <td colspan="2">适合行业：
                      <select name="hy_id" class="option">
                        <option value="0">不限</option>
                        <volist name="zhr[1]" id="hy">
                          <option value="{$hy.id}" <if condition="$hy.did eq 0"> style="color:red"</if>>{$hy.title}</option>
                          <volist name="hy.downLine" id="hyd">
                            <option value="{$hyd.id}">{$hyd.title}</option>
                          </volist>
                        </volist>
                      </select></td>
                  </tr>
                  <tr>
                    <td><span>发布时间：</span><input name="ldate_pub" type="text" id="date1" onclick="fPopCalendar(event,this,this)" value="" size="12"/></td>
                    <td width="24%"><span>实施时间：</span><input name="ldate_job" type="text" id="date1" onclick="fPopCalendar(event,this,this)"  value="" size="12"/></td>
                    <td><span>废除时间：</span><input name="ldate_stop" type="text" id="date1" onclick="fPopCalendar(event,this,this)"  value="" size="12"/></td>
                  </tr>
                </table>
              </div>
            </div>
            <br />
            <br/>
            <div style=" text-align:center; width:100%; clear:both;">
              <script language="javascript">
                function get_id(id){
                  return document.getElementById(id);
                }
                function show_wxp(idd,a){

                  var wxp = get_id(idd);
                  var wsa = get_id(a);

                  if(wxp.checked==true){
                    wsa.style.display='block';
                  }else{
                    wsa.style.display='none';

                  }
                }
              </script>
              <textarea id="your_editor_id" name="lcontent" cols="100" rows="8" style="width:950px;height:400px; font-size:14px;"></textarea>
              <script charset="utf-8" src="__TMPL__/js/editor/kindeditor.js"></script>
              <br />
              <div style="width:100%; clear:both; text-align:center">
                <input type="submit" value="添加新法规" />
              </div>
            </div>

          </form>
        </div>
      </div>
    </div>
    {/*<layout name="Public:footer" cache="0" /> */}
    <script>
      KE.show({
        id : 'your_editor_id',
        items:['fullscreen', 'undo', 'redo', 'print', 'cut', 'copy', 'paste',
          'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
          'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
          'superscript', '|', 'selectall', '-',
          'title', 'fontname', 'fontsize', '|', 'textcolor', 'bgcolor', 'bold',
          'italic', 'underline', 'strikethrough', 'removeformat', '|', 'image',
          'flash', 'media', 'table', 'hr', 'emoticons', 'link', 'unlink', '|', 'about']

      });

      
    </script>
  </body>
</html>
